package com.junjie.checkin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.junjie.checkin.entity.TReceiverAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * @author 洪浚杰
 * @description 地址映射器
 * @date 2025/6/17 12:55
 */
@Mapper
public interface AddressMapper extends BaseMapper<TReceiverAddress> {
    @Update("update t_receiver_address set is_default =0 ")
    public void clearDefault();
}
